const getters = {
  sidebar: state => state.app.sidebar,
  language: state => state.app.language,
  size: state => state.app.size,
  visitedViews: state => state.tagsView.visitedViews,
  cachedViews: state => state.tagsView.cachedViews,
  token: state => state.user.token,
  avatar: state => state.user.avatar,
  name: state => state.user.name,
  introduction: state => state.user.introduction,
  status: state => state.user.status,
  // roles: state => state.user.roles,
  setting: state => state.user.setting,
  permission_routers: state => state.permission.routers,
  addRouters: state => state.permission.addRouters,
  routerLoadDone: state => state.permission.routerLoadDone, //router是否已经加载完成
  companyName: state => state.group.company_name, //部门下的人员列表
  deptUserList: state => state.group.dept_user_list, //部门下的人员列表
  groupUserList: state => state.group.group_user_list, //小组下的人员列表
  cacheDept: state => state.group.cache_dept, //缓存的当前部门对象
  cacheGroup: state => state.group.cache_group, //缓存的当前小组对象
  menuDeptList: state => state.group.menu_dept_list, //部门列表菜单
  menuGroupList: state => state.group.menu_group_list, //小组列表菜单
  percent: state => state.draw.percent, //面板百分比
  cacheForm: state => state.draw.cacheForm, //缓存创建抽奖数据
  cacheDrawItems: state => state.draw.cacheDrawItems, //缓存模板数据
  checkDraw: state => state.draw.checkDraw, //添加还是修改
  medalrankDecide: state => state.medalrank.decide, //勋章 判断add 或者 edit
  /* 积分统计 */
  irState: state => state.integralRecord,
  /* 投票 */
  vtDecide: state => state.vote.decide, //判断模板调用时 add/edit
  voteType: state => state.vote.voteType, //添加或者编辑 投票时，判断类型一/二
  vtIsSub: state => state.vote.isSub, //表单提交用到的校验工具
  vtEditId: state => state.vote.editId, //
  /* 福利祝福 */
  WfDecide: state => state.holidaywishes.decide, //判断模板调用时 add/edit
  WfEditId: state => state.holidaywishes.editId //
};
export default getters;
